package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.InvestigationOrder;
import org.apache.ibatis.annotations.Param;

/**
 * fo_investigation_orderMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface InvestigationOrderMapper 
{
    /**
     * 查询fo_investigation_order
     * 
     * @param id fo_investigation_order主键
     * @return fo_investigation_order
     */
    public InvestigationOrder selectInvestigationOrderById(Long id);

    /**
     * 查询fo_investigation_order列表
     * 
     * @param investigationOrder fo_investigation_order
     * @return fo_investigation_order集合
     */
    public List<InvestigationOrder> selectInvestigationOrderList(InvestigationOrder investigationOrder);
    public List<InvestigationOrder> selectInvestigationOrderList1(InvestigationOrder investigationOrder);

    /**
     * 可以业务主键查询一条fo_investigation_order
     *
     * @param investigationOrder fo_investigation_order
     * @return fo_investigation_order集合
     */
    public InvestigationOrder selectOneInvestigationOrder(InvestigationOrder investigationOrder);

    /**
     * 新增fo_investigation_order
     * 
     * @param investigationOrder fo_investigation_order
     * @return 结果
     */
    public int insertInvestigationOrder(InvestigationOrder investigationOrder);

    /**
     * 修改fo_investigation_order
     * 
     * @param investigationOrder fo_investigation_order
     * @return 结果
     */
    public int updateInvestigationOrder(InvestigationOrder investigationOrder);

    /**
     * 条件修改fo_investigation_order
     *
     * @param investigationOrder fo_investigation_order
     * @param investigationOrder fo_investigation_order条件
     * @return 结果
     */
    public int updateInvestigationOrderCondition(@Param("investigationOrder") InvestigationOrder investigationOrder, @Param("investigationOrderCondition") InvestigationOrder investigationOrderCondition);

    /**
     * 删除fo_investigation_order
     * 
     * @param id fo_investigation_order主键
     * @return 结果
     */
    public int deleteInvestigationOrderById(Long id);

    /**
     * 条件删除fo_investigation_order
     *
     * @param investigationOrder fo_investigation_order
     * @return 结果
     */
    public int deleteInvestigationOrderByCondition(InvestigationOrder investigationOrder);

    /**
     * 批量删除fo_investigation_order
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInvestigationOrderByIds(Long[] ids);
}
